package com.zhuss.meeting.db.dao.ext;

import com.zhuss.bean.bo.meeting.room.SearchRoomBo;
import com.zhuss.bean.vo.meeting.room.DetailRoomVo;
import com.zhuss.bean.vo.meeting.room.ListRoomVo;
import com.zhuss.meeting.db.dao.gen.MeetingRoomMapper;
import com.zhuss.meeting.db.entity.MeetingRoom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface MeetingRoomDao extends MeetingRoomMapper {
	
	void create(MeetingRoom record);
	
	void delete(MeetingRoom record);

	List<ListRoomVo> list(SearchRoomBo bo);

	Integer countList(SearchRoomBo bo);

	List<ListRoomVo> checkList(Map<String,Object> map);

	Integer countCheckList(Map<String,Object> map);

	DetailRoomVo detail(@Param("roomId") Long roomId);

}